<{if $catarray.imageheader != ""}>
<div style="padding-top: 12px; padding-bottom: 12px; text-align: center;"><{$catarray.imageheader}></div>
<{/if}> 
<{if $catarray.indexheading != ""}> 
	<h4 style="text-align: center;"><{$catarray.indexheading}></h4> 
<{/if}>
<div style="padding-bottom: 12px; text-align: <{$catarray.indexheaderalign}>;"><{$catarray.indexheader}></div>
<div style="padding-bottom: 12px; text-align: center;" class="itemPermaLink"><{$catarray.letters}></div>
<div style="padding-bottom: 12px; text-align: center;"><{$catarray.toolbar}></div>

<{if count($categories) gt 0}> 
	<div class="even" style="font-weight: bold;"><{$smarty.const._MD_WFL_MAINLISTING}></div>
	
<table width="100%" cellspacing="1" cellpadding="3" summary='' style="text-align: center;"> 
 <tr>
  <td colspan="2">&nbsp;</td>
 <tr>
 <tr> 
  <!-- Start category loop --> 
  <{foreach item=category from=$categories}> 
   <td width="5%" style="text-align: center; vertical-align: middle;"> 
    <a href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><img src="<{$category.image}>" title="<{$category.alttext}>" alt="<{$category.alttext}>" width="<{$category.width}>" height="<{$category.height}>" align="middle" /></a>
   </td> 
   <td width="35%" style="text-align: left; vertical-align: middle;"> <a href="<{$xoops_url}>/modules/<{$module_dir}>/viewcat.php?cid=<{$category.id}>"><b><{$category.title}></b></a>&nbsp;(<{$category.totallinks}>)<br /> 
    <{if $category.subcategories}> 
     <div style="margin-bottom: 3px; margin-left: 16px; font-size: smaller;"><{$category.subcategories}></div> 
    <{/if}> 
   </td> 
  <{if $category.count is div by 2}> 
 </tr> 
 <tr> <{/if}> <{/foreach}> 
  <!-- End category loop --> 
 </tr> 
 <tr>
  <td colspan="2">&nbsp;</td>
 <tr>
</table>
<div class="odd" style="text-align: left; font-size: smaller;"><{$lang_thereare}></div>
 <div style="padding-bottom: 12px; padding-top: 12px; text-align: right; font-size: smaller; vertical-align: middle;">
  <img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload1.gif" title="<{$smarty.const._MD_WFL_LEGENDTEXTNEW}>" alt="" align="middle"/>&nbsp;<{$smarty.const._MD_WFL_LEGENDTEXTNEW}> 
  <img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload2.gif" title="<{$smarty.const._MD_WFL_LEGENDTEXTNEWTHREE}>" alt="" align="middle"/>&nbsp;<{$smarty.const._MD_WFL_LEGENDTEXTNEWTHREE}> 
  <img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload3.gif" title="<{$smarty.const._MD_WFL_LEGENDTEXTTHISWEEK}>" alt="" align="middle"/>&nbsp;<{$smarty.const._MD_WFL_LEGENDTEXTTHISWEEK}> 
  <img src="<{$xoops_url}>/modules/<{$module_dir}>/images/icon/linkload4.gif" title="<{$smarty.const._MD_WFL_LEGENDTEXTNEWLAST}>"  alt="" align="middle"/>&nbsp;<{$smarty.const._MD_WFL_LEGENDTEXTNEWLAST}>
 </div>
<{/if}> 
<div style="padding-bottom: 12px; text-align: <{$catarray.indexfooteralign}>;"><{$catarray.indexfooter}></div>
<{include file="db:system_notification_select.html"}>